var xmlHttp;

if(window.XMLHttpRequest){
	xmlhttp=new XMLHttpRequest();
}


function mostraVolantini(elem){
	document.getElementById("tabs_content_container").innerHtml="";
	var idcat = elem.getAttribute("name");
	xmlhttp.open("GET", "getVolHome.php?cat="+idcat, true);
	xmlhttp.onreadystatechange=funzione;
	xmlhttp.send("");
}

function funzione(){
	if(xmlhttp.readyState==4 && xmlhttp.status==200){
		document.getElementById("tabs_content_container").innerHTML=xmlhttp.responseText;
		
	}
}